package com.example.building_material_mannager.service.impl;

import com.example.building_material_mannager.entity.PaymentFlow;
import com.example.building_material_mannager.mapper.PaymentFlowMapper;
import com.example.building_material_mannager.service.PaymentFlowService;
import com.example.building_material_mannager.util.PageUtil;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class PaymentFlowServiceImpl implements PaymentFlowService {
    @Resource
    PaymentFlowMapper paymentFlowMapper;
    @Override
    public PageUtil<List<PaymentFlow>> selectPaymentFlow(PaymentFlow paymentFlow) {
        PageUtil<List<PaymentFlow>> pageBean=new PageUtil<>();
        pageBean.setData(paymentFlowMapper.selectPaymentFlow(paymentFlow));
        return pageBean;

    }
}
